import request from '@/utils/request'
export default {
  getList(page){
    return request({
      url:`/admin/shop/search/${page}`,
      method:'get'
    })
  },
  remove(id){
    return request({
      url:`/admin/shop/removeShop/${id}`,
      method:'delete'
    })
  },
  getInfo(id){
    return request({
      url:`/admin/shop/getMedById/${id}`,
      method:'get'
    })
  },
  saveMed(Obj){
    return request({
      url:`/admin/shop/saveMed`,
      method:'post',
      data:Obj
    })
  }
}
